package org.schhx.session;

import java.util.List;

/**
 * @author shanchao
 * @date 2021/1/30
 */
public interface Executor {

    <E> List<E> query(MappedStatement ms, Object parameter) throws Exception;

    int update(MappedStatement ms, Object parameter) throws Exception;
}
